#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
//	int n;
//	cin >> n;
	int s = 9, ans = 9;
	int i = 2;
	for (; ans < 1e18; i++)
		s *= 10, ans += s * i;
	cout << s << " " << i << " " << ans;
	return 0;
}
